-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  C:\Users\knm4642\Dropbox\Nha Meo Heo Beo\_JMP\WORKING FOLDER\Table VII_Effect in bilateral trust sample.log
  log type:  text
 opened on:  18 Feb 2026, 23:46:28

.         
. //PREPARE DATA
. use "Bilateral trust sample_nonUS.dta", clear

. * construct additional variable
. gen sameethnic = eubmcode == mainethcode & mainethshare >= 0.8

. * set globals 
. global firm = "firmage firmage2"

. global ceo = "age age2 yrinco"

. global bitrustFEs = "ceoid eubmcode boardid#year"

. global bitrustsample = "eubmcode != 33 & haspat & year < 2012 & !nonUS" //eubmcode 33 = US

. global cluster = "etheubmcode"

. * set sample
. qui reghdfe ash_f1allpatxc bitrust_sd logat logsale ${firm} ${ceo} if ${bitrustsample}, ///
>         a(boardid eubmcode ceoid year) keepsin
WARNING: Singleton observations not dropped; statistical significance is biased (link)

. gen bitrustsample = e(sample)

. 
. 
. //PREPARE TABLE
. eststo clear

. eststo col1: /// baseline
>         reghdfe ash_f1allpatxc bitrust_sd if bitrustsample, ///
>         a(${bitrustFEs}) cluster(${cluster}) keepsin
WARNING: Singleton observations not dropped; statistical significance is biased (link)
(MWFE estimator converged in 30 iterations)

HDFE Linear regression                            Number of obs   =     23,284
Absorbing 3 HDFE groups                           F(   1,    256) =       5.01
Statistics robust to heteroskedasticity           Prob > F        =     0.0261
                                                  R-squared       =     0.3854
                                                  Adj R-squared   =     0.2224
                                                  Within R-sq.    =     0.0011
Number of clusters (etheubmcode) =        257     Root MSE        =     0.7475

                          (Std. err. adjusted for 257 clusters in etheubmcode)
------------------------------------------------------------------------------
             |               Robust
ash_f1allp~c | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
-------------+----------------------------------------------------------------
  bitrust_sd |   .0522987   .0233655     2.24   0.026     .0062856    .0983118
       _cons |  -.0345826   .1914695    -0.18   0.857    -.4116386    .3424734
------------------------------------------------------------------------------

Absorbed degrees of freedom:
--------------------------------------------------------+
    Absorbed FE | Categories  - Redundant  = Num. Coefs |
----------------+---------------------------------------|
          ceoid |       960           0         960     |
       eubmcode |        27           1          26     |
   boardid#year |      4672         778        3894    ?|
--------------------------------------------------------+
? = number of redundant parameters may be higher

.                 estadd local spec       "Baseline"

added macro:
               e(spec) : "Baseline"

.                 estadd local FE_CEO     "X"

added macro:
             e(FE_CEO) : "X"

.                 estadd local FE_IC      "X"

added macro:
              e(FE_IC) : "X"

.                 estadd local FE_FxY     "X"

added macro:
             e(FE_FxY) : "X"

.                 distinct boardid if e(sample)

         |        Observations
         |      total   distinct
---------+----------------------
 boardid |      23284        730

.                 distinct brdeubmcode if e(sample)

             |        Observations
             |      total   distinct
-------------+----------------------
 brdeubmcode |      23284       3481

.                 estadd scalar nofirmxcntrys = r(ndistinct)

added scalar:
      e(nofirmxcntrys) =  3481

.                 distinct boardid if e(sample)

         |        Observations
         |      total   distinct
---------+----------------------
 boardid |      23284        730

.                 eststo col1, add(nofirms r(ndistinct))
(e(nofirms) = 730 added)

. eststo col2: /// additional fixed effects
>         reghdfe ash_f1allpatxc bitrust_sd if bitrustsample, ///
>         a(boardid#year ceoid#year eubmcode#year) cluster(${cluster}) keepsin
WARNING: Singleton observations not dropped; statistical significance is biased (link)
(MWFE estimator converged in 10 iterations)

HDFE Linear regression                            Number of obs   =     23,284
Absorbing 3 HDFE groups                           F(   1,    256) =       4.56
Statistics robust to heteroskedasticity           Prob > F        =     0.0336
                                                  R-squared       =     0.3916
                                                  Adj R-squared   =     0.2172
                                                  Within R-sq.    =     0.0011
Number of clusters (etheubmcode) =        257     Root MSE        =     0.7500

                          (Std. err. adjusted for 257 clusters in etheubmcode)
------------------------------------------------------------------------------
             |               Robust
ash_f1allp~c | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
-------------+----------------------------------------------------------------
  bitrust_sd |   .0507924   .0237794     2.14   0.034     .0039643    .0976205
       _cons |  -.0223436   .1948656    -0.11   0.909    -.4060873       .3614
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------+
     Absorbed FE | Categories  - Redundant  = Num. Coefs |
-----------------+---------------------------------------|
    boardid#year |      4672           0        4672     |
      ceoid#year |      4860        4658         202     |
   eubmcode#year |       324          12         312    ?|
---------------------------------------------------------+
? = number of redundant parameters may be higher

.                 estadd local spec       "Add FEs"

added macro:
               e(spec) : "Add FEs"

.                 estadd local FE_FxY     "X"

added macro:
             e(FE_FxY) : "X"

.                 estadd local FE_CEOxY   "X"

added macro:
           e(FE_CEOxY) : "X"

.                 estadd local FE_ICxY    "X"

added macro:
            e(FE_ICxY) : "X"

.                 distinct brdeubmcode if e(sample)

             |        Observations
             |      total   distinct
-------------+----------------------
 brdeubmcode |      23284       3481

.                 estadd scalar nofirmxcntrys = r(ndistinct)

added scalar:
      e(nofirmxcntrys) =  3481

.                 distinct boardid if e(sample)

         |        Observations
         |      total   distinct
---------+----------------------
 boardid |      23284        730

.                 eststo col2, add(nofirms r(ndistinct))
(e(nofirms) = 730 added)

. eststo col3: /// additional fixed effects
>         reghdfe ash_f1allpatxc bitrust_sd ${firm} ${ceo} if bitrustsample, ///
>         a(ceoid boardid#eubmcode year) cluster(${cluster}) keepsin
WARNING: Singleton observations not dropped; statistical significance is biased (link)
(MWFE estimator converged in 16 iterations)
note: age is probably collinear with the fixed effects (all partialled-out values are close to zero; tol = 1.0e-09)
note: yrinco is probably collinear with the fixed effects (all partialled-out values are close to zero; tol = 1.0e-09)

HDFE Linear regression                            Number of obs   =     23,284
Absorbing 3 HDFE groups                           F(   4,    256) =       3.32
Statistics robust to heteroskedasticity           Prob > F        =     0.0112
                                                  R-squared       =     0.8006
                                                  Adj R-squared   =     0.7622
                                                  Within R-sq.    =     0.0011
Number of clusters (etheubmcode) =        257     Root MSE        =     0.4134

                          (Std. err. adjusted for 257 clusters in etheubmcode)
------------------------------------------------------------------------------
             |               Robust
ash_f1allp~c | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
-------------+----------------------------------------------------------------
  bitrust_sd |   .0340699   .0205416     1.66   0.098    -.0063822    .0745219
     firmage |   .0047607   .0035081     1.36   0.176    -.0021478    .0116691
    firmage2 |  -.0001201    .000056    -2.15   0.033    -.0002304   -9.93e-06
         age |          0  (omitted)
        age2 |   .0002628   .0001205     2.18   0.030     .0000255    .0005001
      yrinco |          0  (omitted)
       _cons |  -.6791649   .3848291    -1.76   0.079    -1.436999     .078669
------------------------------------------------------------------------------

Absorbed degrees of freedom:
------------------------------------------------------------+
        Absorbed FE | Categories  - Redundant  = Num. Coefs |
--------------------+---------------------------------------|
              ceoid |       960           0         960     |
   boardid#eubmcode |      3481         701        2780     |
               year |        12           1          11    ?|
------------------------------------------------------------+
? = number of redundant parameters may be higher

.                 estadd local spec       "Add FEs"

added macro:
               e(spec) : "Add FEs"

.                 estadd local FE_CEO     "X"

added macro:
             e(FE_CEO) : "X"

.                 estadd local FE_FxIC    "X"

added macro:
            e(FE_FxIC) : "X"

.                 estadd local FE_Y       "X"

added macro:
               e(FE_Y) : "X"

.                 distinct brdeubmcode if e(sample)

             |        Observations
             |      total   distinct
-------------+----------------------
 brdeubmcode |      23284       3481

.                 estadd scalar nofirmxcntrys = r(ndistinct)

added scalar:
      e(nofirmxcntrys) =  3481

.                 distinct boardid if e(sample)

         |        Observations
         |      total   distinct
---------+----------------------
 boardid |      23284        730

.                 eststo col3, add(nofirms r(ndistinct))
(e(nofirms) = 730 added)

. eststo col4: /// forward citation-weighted
>         reghdfe ash_f1allpatxc_citff bitrust_sd if bitrustsample, ///
>         a(${bitrustFEs}) cluster(${cluster}) keepsin 
WARNING: Singleton observations not dropped; statistical significance is biased (link)
(MWFE estimator converged in 32 iterations)

HDFE Linear regression                            Number of obs   =     23,284
Absorbing 3 HDFE groups                           F(   1,    256) =       6.01
Statistics robust to heteroskedasticity           Prob > F        =     0.0149
                                                  R-squared       =     0.4030
                                                  Adj R-squared   =     0.2447
                                                  Within R-sq.    =     0.0011
Number of clusters (etheubmcode) =        257     Root MSE        =     1.3863

                          (Std. err. adjusted for 257 clusters in etheubmcode)
------------------------------------------------------------------------------
             |               Robust
ash_f1allp~f | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
-------------+----------------------------------------------------------------
  bitrust_sd |   .0948214   .0386726     2.45   0.015     .0186646    .1709783
       _cons |   .0869004   .3164592     0.27   0.784    -.5362944    .7100952
------------------------------------------------------------------------------

Absorbed degrees of freedom:
--------------------------------------------------------+
    Absorbed FE | Categories  - Redundant  = Num. Coefs |
----------------+---------------------------------------|
          ceoid |       960           0         960     |
       eubmcode |        27           1          26     |
   boardid#year |      4672         778        3894    ?|
--------------------------------------------------------+
? = number of redundant parameters may be higher

.                 estadd local spec       "Fwd cites"

added macro:
               e(spec) : "Fwd cites"

.                 estadd local FE_CEO     "X"

added macro:
             e(FE_CEO) : "X"

.                 estadd local FE_IC      "X"

added macro:
              e(FE_IC) : "X"

.                 estadd local FE_FxY     "X"

added macro:
             e(FE_FxY) : "X"

.                 distinct brdeubmcode if e(sample)

             |        Observations
             |      total   distinct
-------------+----------------------
 brdeubmcode |      23284       3481

.                 estadd scalar nofirmxcntrys = r(ndistinct)

added scalar:
      e(nofirmxcntrys) =  3481

.                 distinct boardid if e(sample)

         |        Observations
         |      total   distinct
---------+----------------------
 boardid |      23284        730

.                 eststo col4, add(nofirms r(ndistinct))
(e(nofirms) = 730 added)

. eststo col5: /// exclude same ethnicity
>         reghdfe ash_f1allpatxc bitrust_sd if bitrustsample & !sameethnic, ///
>         a(${bitrustFEs}) cluster(${cluster})
(dropped 1542 singleton observations)
(MWFE estimator converged in 25 iterations)

HDFE Linear regression                            Number of obs   =     20,878
Absorbing 3 HDFE groups                           F(   1,    251) =       2.77
Statistics robust to heteroskedasticity           Prob > F        =     0.0972
                                                  R-squared       =     0.3693
                                                  Adj R-squared   =     0.2522
                                                  Within R-sq.    =     0.0007
Number of clusters (etheubmcode) =        252     Root MSE        =     0.7448

                          (Std. err. adjusted for 252 clusters in etheubmcode)
------------------------------------------------------------------------------
             |               Robust
ash_f1allp~c | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
-------------+----------------------------------------------------------------
  bitrust_sd |   .0474846   .0285239     1.66   0.097    -.0086921    .1036613
       _cons |   .0202594   .2310845     0.09   0.930    -.4348522    .4753711
------------------------------------------------------------------------------

Absorbed degrees of freedom:
--------------------------------------------------------+
    Absorbed FE | Categories  - Redundant  = Num. Coefs |
----------------+---------------------------------------|
          ceoid |       640           0         640     |
       eubmcode |        27           1          26     |
   boardid#year |      3129         526        2603    ?|
--------------------------------------------------------+
? = number of redundant parameters may be higher

.                 estadd local spec       "Pair ctrls"

added macro:
               e(spec) : "Pair ctrls"

.                 estadd local exclsame   "X"

added macro:
           e(exclsame) : "X"

.                 estadd local FE_CEO     "X"

added macro:
             e(FE_CEO) : "X"

.                 estadd local FE_IC      "X"

added macro:
              e(FE_IC) : "X"

.                 estadd local FE_FxY     "X"

added macro:
             e(FE_FxY) : "X"

.                 distinct brdeubmcode if e(sample)

             |        Observations
             |      total   distinct
-------------+----------------------
 brdeubmcode |      20878       3145

.                 estadd scalar nofirmxcntrys = r(ndistinct)

added scalar:
      e(nofirmxcntrys) =  3145

.                 distinct boardid if e(sample)

         |        Observations
         |      total   distinct
---------+----------------------
 boardid |      20878        496

.                 eststo col5, add(nofirms r(ndistinct))
(e(nofirms) = 496 added)

. eststo col6: /// common language control
>         reghdfe ash_f1allpatxc bitrust_sd comlang_ethno if bitrustsample, ///
>         a(${bitrustFEs}) cluster(${cluster}) keepsin
WARNING: Singleton observations not dropped; statistical significance is biased (link)
(MWFE estimator converged in 30 iterations)

HDFE Linear regression                            Number of obs   =     23,284
Absorbing 3 HDFE groups                           F(   2,    256) =       3.84
Statistics robust to heteroskedasticity           Prob > F        =     0.0228
                                                  R-squared       =     0.3856
                                                  Adj R-squared   =     0.2226
                                                  Within R-sq.    =     0.0014
Number of clusters (etheubmcode) =        257     Root MSE        =     0.7474

                           (Std. err. adjusted for 257 clusters in etheubmcode)
-------------------------------------------------------------------------------
              |               Robust
ash_f1allpa~c | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
--------------+----------------------------------------------------------------
   bitrust_sd |   .0422048   .0247327     1.71   0.089    -.0065007    .0909103
comlang_ethno |   .0568153   .0470612     1.21   0.228    -.0358611    .1494916
        _cons |   .0416149   .1996234     0.21   0.835    -.3514982     .434728
-------------------------------------------------------------------------------

Absorbed degrees of freedom:
--------------------------------------------------------+
    Absorbed FE | Categories  - Redundant  = Num. Coefs |
----------------+---------------------------------------|
          ceoid |       960           0         960     |
       eubmcode |        27           1          26     |
   boardid#year |      4672         778        3894    ?|
--------------------------------------------------------+
? = number of redundant parameters may be higher

.                 estadd local spec       "Pair ctrls"

added macro:
               e(spec) : "Pair ctrls"

.                 estadd local FE_CEO     "X"

added macro:
             e(FE_CEO) : "X"

.                 estadd local FE_IC      "X"

added macro:
              e(FE_IC) : "X"

.                 estadd local FE_FxY     "X"

added macro:
             e(FE_FxY) : "X"

.                 distinct brdeubmcode if e(sample)

             |        Observations
             |      total   distinct
-------------+----------------------
 brdeubmcode |      23284       3481

.                 estadd scalar nofirmxcntrys = r(ndistinct)

added scalar:
      e(nofirmxcntrys) =  3481

.                 distinct boardid if e(sample)

         |        Observations
         |      total   distinct
---------+----------------------
 boardid |      23284        730

.                 eststo col6, add(nofirms r(ndistinct))
(e(nofirms) = 730 added)

. eststo col7: /// geographical distance control
>         reghdfe ash_f1allpatxc bitrust_sd distw if bitrustsample, ///
>         a(${bitrustFEs}) cluster(${cluster}) keepsin
WARNING: Singleton observations not dropped; statistical significance is biased (link)
(MWFE estimator converged in 30 iterations)

HDFE Linear regression                            Number of obs   =     23,284
Absorbing 3 HDFE groups                           F(   2,    256) =       2.64
Statistics robust to heteroskedasticity           Prob > F        =     0.0736
                                                  R-squared       =     0.3854
                                                  Adj R-squared   =     0.2224
                                                  Within R-sq.    =     0.0011
Number of clusters (etheubmcode) =        257     Root MSE        =     0.7475

                          (Std. err. adjusted for 257 clusters in etheubmcode)
------------------------------------------------------------------------------
             |               Robust
ash_f1allp~c | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
-------------+----------------------------------------------------------------
  bitrust_sd |   .0520659   .0240238     2.17   0.031     .0047565    .0993753
       distw |  -.0015831   .0189498    -0.08   0.933    -.0389003    .0357342
       _cons |  -.0298619   .2092713    -0.14   0.887    -.4419743    .3822506
------------------------------------------------------------------------------

Absorbed degrees of freedom:
--------------------------------------------------------+
    Absorbed FE | Categories  - Redundant  = Num. Coefs |
----------------+---------------------------------------|
          ceoid |       960           0         960     |
       eubmcode |        27           1          26     |
   boardid#year |      4672         778        3894    ?|
--------------------------------------------------------+
? = number of redundant parameters may be higher

.                 estadd local spec       "Pair ctrls"

added macro:
               e(spec) : "Pair ctrls"

.                 estadd local FE_CEO     "X"

added macro:
             e(FE_CEO) : "X"

.                 estadd local FE_IC      "X"

added macro:
              e(FE_IC) : "X"

.                 estadd local FE_FxY     "X"

added macro:
             e(FE_FxY) : "X"

.                 distinct brdeubmcode if e(sample)

             |        Observations
             |      total   distinct
-------------+----------------------
 brdeubmcode |      23284       3481

.                 estadd scalar nofirmxcntrys = r(ndistinct)

added scalar:
      e(nofirmxcntrys) =  3481

.                 distinct boardid if e(sample)

         |        Observations
         |      total   distinct
---------+----------------------
 boardid |      23284        730

.                 eststo col7, add(nofirms r(ndistinct))
(e(nofirms) = 730 added)

. eststo col8: /// genetic distance control
>         reghdfe ash_f1allpatxc bitrust_sd fstdist_wt if bitrustsample, ///
>         a(${bitrustFEs}) cluster(${cluster}) keepsin
WARNING: Singleton observations not dropped; statistical significance is biased (link)
(MWFE estimator converged in 27 iterations)

HDFE Linear regression                            Number of obs   =     22,881
Absorbing 3 HDFE groups                           F(   2,    248) =       2.48
Statistics robust to heteroskedasticity           Prob > F        =     0.0859
                                                  R-squared       =     0.3930
                                                  Adj R-squared   =     0.2295
                                                  Within R-sq.    =     0.0011
Number of clusters (etheubmcode) =        249     Root MSE        =     0.7466

                          (Std. err. adjusted for 249 clusters in etheubmcode)
------------------------------------------------------------------------------
             |               Robust
ash_f1allp~c | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
-------------+----------------------------------------------------------------
  bitrust_sd |   .0523652   .0238735     2.19   0.029     .0053445     .099386
  fstdist_wt |   .0177604   .0842426     0.21   0.833    -.1481617    .1836825
       _cons |  -.0388387   .2039727    -0.19   0.849    -.4405784    .3629009
------------------------------------------------------------------------------

Absorbed degrees of freedom:
--------------------------------------------------------+
    Absorbed FE | Categories  - Redundant  = Num. Coefs |
----------------+---------------------------------------|
          ceoid |       957           0         957     |
       eubmcode |        26           1          25     |
   boardid#year |      4650         777        3873    ?|
--------------------------------------------------------+
? = number of redundant parameters may be higher

.                 estadd local spec       "Pair ctrls"

added macro:
               e(spec) : "Pair ctrls"

.                 estadd local FE_CEO     "X"

added macro:
             e(FE_CEO) : "X"

.                 estadd local FE_IC      "X"

added macro:
              e(FE_IC) : "X"

.                 estadd local FE_FxY     "X"

added macro:
             e(FE_FxY) : "X"

.                 distinct brdeubmcode if e(sample)

             |        Observations
             |      total   distinct
-------------+----------------------
 brdeubmcode |      22881       3421

.                 estadd scalar nofirmxcntrys = r(ndistinct)

added scalar:
      e(nofirmxcntrys) =  3421

.                 distinct boardid if e(sample)

         |        Observations
         |      total   distinct
---------+----------------------
 boardid |      22881        728

.                 eststo col8, add(nofirms r(ndistinct))
(e(nofirms) = 728 added)

. 
. global coeflist = "bitrust_sd comlang_ethno distw fstdist_wt"

. esttab /*using "Table VII_Effect in bilateral trust sample.tex"*/, ///
>         cells(b(star fmt(3)) se(par fmt(3))) starlevels(* 0.1 ** 0.05 *** 0.01) ///
>         nomtitle collabels(none) label varwidth(32) modelwidth(12) ///
>         mgroups("arsinh(Future patent applications)", pattern(1 0 0 0 0 0 0 0) ///
>                 prefix(\multicolumn{@span}{c}{) suffix(}) span) ///
>         keep(${coeflist}) order(${coeflist}) ///
>         coeflab(bitrust_sd "CEO's bilateral trust" ///
>                         comlang_ethno "Common language dummy" ///
>                         distw "Geographical distance (1000km)" ///
>                         fstdist_wt "Genetic distance (z-score)") ///
>         stats(spec FE_CEO FE_IC FE_FxY FE_CEOxY FE_ICxY FE_FxIC FE_Y exclsame N nofirmxcntrys nofirms, ///
>                 fmt(%9.0fc %9.0fc %9.0fc) ///
>                 lab("Specification" "CEO FEs" "Inventor country FEs" "Firm $\times$ Year FEs" "CEO $\times$ Year FEs" ///
>                         "Inv country $\times$ Year FEs" "Firm $\times$ Inv country's FEs" "Year FEs" ///
>                         "Excl same-country pairs" "Observations" "Firm $\times$ Inv country's" "Firms"))

----------------------------------------------------------------------------------------------------------------------------------------------------------------
                                 \multicolumn{8}{c}{arsinh(Future patent applications)}                                                                         
                                          (1)             (2)             (3)             (4)             (5)             (6)             (7)             (8)   
----------------------------------------------------------------------------------------------------------------------------------------------------------------
CEO's bilateral trust                   0.052**         0.051**         0.034*          0.095**         0.047*          0.042*          0.052**         0.052** 
                                      (0.023)         (0.024)         (0.021)         (0.039)         (0.029)         (0.025)         (0.024)         (0.024)   
Common language dummy                                                                                                   0.057                                   
                                                                                                                      (0.047)                                   
Geographical distance (1000km)                                                                                                         -0.002                   
                                                                                                                                      (0.019)                   
Genetic distance (z-score)                                                                                                                              0.018   
                                                                                                                                                      (0.084)   
----------------------------------------------------------------------------------------------------------------------------------------------------------------
Specification                        Baseline         Add FEs         Add FEs       Fwd cites      Pair ctrls      Pair ctrls      Pair ctrls      Pair ctrls   
CEO FEs                                     X                               X               X               X               X               X               X   
Inventor country FEs                        X                                               X               X               X               X               X   
Firm $\times$ Year FEs                      X               X                               X               X               X               X               X   
CEO $\times$ Year FEs                                       X                                                                                                   
Inv country $\times$ Year FEs                               X                                                                                                   
Firm $\times$ Inv country's FEs                                             X                                                                                   
Year FEs                                                                    X                                                                                   
Excl same-country pairs                                                                                     X                                                   
Observations                           23,284          23,284          23,284          23,284          20,878          23,284          23,284          22,881   
Firm $\times$ Inv country's             3,481           3,481           3,481           3,481           3,145           3,481           3,481           3,421   
Firms                                     730             730             730             730             496             730             730             728   
----------------------------------------------------------------------------------------------------------------------------------------------------------------

. 
. cap log close
